package org.wisigoth.chat.client;

import org.wisigoth.chat.client.msg.ChatMessage;

/**
 * A single user chat session
 * 
 * @author tof
 * 
 */
public interface ChatSession extends MessageProducer, MessageConsumer {

	/**
	 * return the contact of the chat session
	 * 
	 * @return
	 */
	public Contact getContact();
	
	/**
	 * Get the current session
	 * @return the session
	 */
	public Session getSession();
	
	public void sendMessage(ChatMessage message);

}
